{% extends 'base.html' %}
{% import '_my_wtf_macros.html' as my_wtf_macros %}

{% block title %}万屏时代OPC--编辑企业保障{% endblock %}

{% block panel_heading %}万屏时代OPC--编辑企业保障{% endblock %}

{% block panel_body %}
    <form action="{{ url_for('enterprise_bp.enterprise_item_edit', item_key='security', item_id=enterprise_item.id) }}" method="post" class="form" role="form">
        <div class="well well-sm">编辑企业产品</div>
        {{ my_wtf_macros.form_field(form.weight, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.security_id, div_col=4, label_col=4, field_col=7) }}
        {{ my_wtf_macros.form_field(form.security_text, div_col=4, label_col=4, field_col=7) }}
        <div class="pull-right">
            <button type="submit" class="btn btn-success">
                保存
            </button>
        </div>
    </form>
{% endblock %}

{% block scripts %}
{{ super() }}
    <script src="{{url_for('static', filename='opc.js')}}"></script>
{% endblock %}
